//
//  SYFunctionCollectionViewCell.h
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/12.
//  Copyright © 2019年 李文强. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "SYCollectionView.h"

typedef NS_ENUM(NSInteger,SYFunctionCollectionType) {
    SYFunctionCollectionTypeDelete =1,//删除
    SYFunctionCollectionTypeRename,//重命名
    SYFunctionCollectionTypeMobile, //移动
    SYFunctionCollectionTypeShare //分享

};

@protocol SYFunctionCollectionViewCellDelegate <NSObject>

/**
 点击了长按
 */
- (void)selectLogPressType:(SYFunctionCollectionType)type indexPath:(NSIndexPath *)index;

@end

@interface SYFunctionCollectionViewCell : UICollectionViewCell

- (void)functionCollectionModel:(SYCollectionModel *)model indexPath:(NSIndexPath *)index setIsChar:(BOOL)isChar isFrom:(NSString *)isfrom;


@property (assign, nonatomic) SYCollectionViewType status;

@property (strong, nonatomic) SYCollectionModel *model;

@property (weak, nonatomic) id <SYFunctionCollectionViewCellDelegate> delegate;

//- (void)setIsChar:(BOOL)isChar isFrom:(NSString *)isfrom;


@end
